﻿
using AutoMapper;
using B.S.Material.Domain.BOM;
using B.S.Material.ErrorCode;
using B.S.Material.Read.Api.Applications.Command.MaterialsCommnad;
using MediatR;
using SqlSugar;

namespace B.S.Material.Read.Api.Applications.Handler.MaterialsHandler
{
    public class ShowMaterialsHandelr : IRequestHandler<GetMaterialsCommnad, ApiResult<ApiPaging<Materials>>>
    {
        private readonly ISqlSugarClient db;
        private readonly IMapper mapper;
        public ShowMaterialsHandelr(ISqlSugarClient db, IMapper mapper)
        {
            this.db = db;
            this.mapper = mapper;
        }

        public Task<ApiResult<ApiPaging<Materials>>> Handle(GetMaterialsCommnad request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
